package cn.stylefeng.guns.modular.demo.controller.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class SaleStockVO implements Serializable {

    @ApiModelProperty("进货日期")
    private Long saleTime;

    @ApiModelProperty(value = "商品编码")
    private String commodityCode;

    @ApiModelProperty(value = "商品名称")
    private String commodityName;

    @ApiModelProperty(value = "规格")
    private String commoditySpec;

    @ApiModelProperty(value = "商品单位")
    private String commodityUnit;

    @ApiModelProperty(value = "厂家")
    private String vender;

    @ApiModelProperty(value = "入库价")
    private BigDecimal price;

    @ApiModelProperty(value = "批次号")
    private String batchNo;
    @ApiModelProperty(value = "订单号")
    private String gssdBillNo;

    @ApiModelProperty(value = "批次")
    private String batch;

    @ApiModelProperty(value = "入库类型  1 入库 2退货")
    private Integer saleType;

    @ApiModelProperty(value = "入库 出库数量")
    private Integer num;

    @ApiModelProperty(value = "供应商编号")
    private String supplierCode;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "供应商id")
    private String supplierId;
    @ApiModelProperty(value = "门店编号")
    private String storeCode;
    @ApiModelProperty(value = "门店名称")
    private String storeName;
    @ApiModelProperty(value = "是否测试数据")
    private Integer test;


    @ApiModelProperty(value = "是否参与返利计算")
    private Integer canRebate;

    @ApiModelProperty(value = "审核日志id")
    private String auditLogId;

    @ApiModelProperty(value = "核销状态 1 已核销 0待核销 -1 拒绝  -1 或者null才可以发起审批")
    private Integer auditStatus;

    @ApiModelProperty(value = "主键")
    private String saleId;

    @ApiModelProperty("收银员")
    private String cashier;
    @ApiModelProperty("生产企业")
    private String productionEnterprise;
    @ApiModelProperty("上市许可持有人")
    private String holder;
    @ApiModelProperty("应收金额")
    private BigDecimal receivablePrice;
    @ApiModelProperty("原价")
    private Double originalPrice;
    @ApiModelProperty(value = "进销存类型 supplier 供应商 store门店 sale 销售")
    private String type;
    @ApiModelProperty(value = "商品效期")
    private String batExpireDate;

    @ApiModelProperty(value = "商品生产日期")
    private String batProductDate;

    @ApiModelProperty(value = "单据编号")
    private String billNo;
    @ApiModelProperty(value = "批准文号")
    private String proRegisterNo;
    private String proBasicCode;
    private String proForm;
    private BigDecimal proHyj;
    @ApiModelProperty("配送单价")
    private BigDecimal distributionPrice;
    @ApiModelProperty("配送单总价")
    private BigDecimal distributionTotalPrice;
    @ApiModelProperty("销售时间")
    private Long time;
    @ApiModelProperty("支付方式")
    private String payName;
}
